var s = new Set([1,2,4,8,2,3,2,4])

console.log(s)
console.log([...s])

// ouput

// Set { 1, 2, 4, 8, 3 }
// [ 1, 2, 4, 8, 3 ]
